import { http } from '@/utils/http'

export default {
  getHallList: (params) => http.get('/api/hall/list', params),
  // 礼堂详情
  getHallDetail: (params) => http.get('/api/hall/queryById', params),
  // 礼堂字典
  getHallDict: () => http.get('/hall/hallInfo/dict'),

  // 获取部门
  getDepartTree: (params) => http.get('/sys/sysDepart/queryDepartTreeSync', params),
  // 获取所有
  getAllDepartTree: () => http.get('/sys/sysDepart/queryTreeList'),
  // 获取所有礼堂列表
  getAllHallList: (params) => http.get('/hall/hallInfo/list', params),
}
